/*******************************************************************************
 *                                 AWorks
 *                       ----------------------------
 *                       innovating embedded platform
 *
 * Copyright (c) 2001-present Guangzhou ZHIYUAN Electronics Co., Ltd.
 * ALL rights reserved.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 *
 * The License of this software follows LGPL v2.1, See the LICENSE for more details:
 * https://opensource.org/licenses/LGPL-2.1
 *
 * Contact information:
 * web site:    http://www.zlg.cn/
 *******************************************************************************/
#ifndef __HPM_ROMAPI_XPI_SOC_DEF_H__
#define __HPM_ROMAPI_XPI_SOC_DEF_H__


typedef struct {
    struct {
        uint8_t priority;            /* 偏移：0x00 */
        uint8_t master_idx;          /* 偏移：0x01 */
        uint8_t buf_size_in_dword;   /* 偏移：0x02 */
        bool_t  enable_prefetch;     /* 偏移：0x03 */
    } entry[8];
} xpi_ahb_buffer_cfg_t;


#endif /* __HPM_ROMAPI_XPI_SOC_DEF_H__ */

